package com.khyr.controller;

import com.khyr.Vo.QueryAllNewRequestVo;
import com.khyr.entity.Comment;
import com.khyr.entity.HisRegistration;
import com.khyr.service.EvaluateService;
import com.khyr.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author ：lyk
 * @date ：Created in 2025/3/17 10:05
 * @description：
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("/accountant/evaluate")
public class EvaluateController {
    @Autowired
    private EvaluateService evaluateService;
    @PostMapping("/queryAllNew")
    public R<List<Comment>> queryAllNew(QueryAllNewRequestVo queryAllNewRequestVo){
        return evaluateService.queryAllNew(queryAllNewRequestVo);
    }
}
